package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.entity.PermissionPermissionGroup;
import org.apache.ibatis.annotations.Select;

/**
 * @author cfr
 * @date 2022/1/11
 * @TIME:21:18
 */
public interface PermissionPermissionGroupMapper extends BaseMapper<PermissionPermissionGroup> {
    @Select("SELECT pid from a_permission_permission_group where pgid=#{id}")
    Integer[] selectId(Integer id);
}
